package com.hzit.loan.pay.service;

import com.hzit.loan.pay.commonApi.req.RefundReq;
import com.hzit.loan.pay.model.PaySerial;
import com.hzit.loan.pay.model.RefundSerial;

import java.util.List;

/**
 * 退款流水表相关业务操作接口
 */
public interface IRefundSerialService {

    /**
     *
     * @param paySerialNo
     * @return
     */
    public List<RefundSerial> queryByPaySerialNo(String paySerialNo);

    /**
     * 创建退款流水
     * @return
     */
    public RefundSerial  createRefundSerial(RefundReq refundReq, PaySerial paySerial);


    public void updateRefundSerial();


}
